#define  _CRT_SECURE_NO_WARNINGS
#include "ListNode.h"

void ListNodeTest()
{
	ListNode* plist;
	plist = NULL;
	//SListPushBack(&plist, 1);
	//SListPushBack(&plist, 2);
	//SListPushBack(&plist, 3);
	//SListPushBack(&plist, 4);
	//SListPushBack(&plist, 5);

	SListPushFront(&plist, 1);
	SListPushFront(&plist, 2);
	SListPushFront(&plist, 3);
	SListPushFront(&plist, 4);
	SListPushFront(&plist, 5);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//SListPopFront(&plist);
	//ListNode* find = SListFind(&plist,3);
	//if (find != NULL)
	//{
	//	printf("1\n");
	//}
	//else
	//{
	//	printf("0\n");
	//}

	//SListInsertAfter(find, 9);
	//print(plist);
	//SListEraseAfter(&plist,find);
	//print(plist);
	SListDestroy(&plist);

}

int main()
{
	ListNodeTest();
}